<h1>Upload Photo</h1>
<form onsubmit="return validate_upload(this)" method="post" action="<?php echo BASE_PATH; ?>/photos/upload" enctype="multipart/form-data">
    <fieldset>
        <label for="file">File:</label>
        <input type="file" name="file" id="file" /><br />

        <label for="category">Category:</label>
        <input type="text" name="category" value="" id="category"/><br />

        <label for="title">Title:</label>
        <input type="text" name="title" value="" id="title"/><br />

        <label for="description">Description:</label>
        <textarea cols="" rows="" name="description" id="description"></textarea><br />

        <label for="keywords">Keyword(s):</label>
        <input type="text" name="keywords" value="" id="keywords"/><br />

        <label for="date_taken">Date Taken:</label>
        <input type="text" name="date_taken" value="" id="date_taken" onclick="displayDatePicker('date_taken');"/><br />

        <label for="access_rule">Access Rule:</label>
        <select name="access_rule" id="access">
            <option value="1">Unrestricted</option>
            <option value="2">Only logged users</option>
            <option value="3">Only followers</option>
            <option value="4">Private</option>
        </select><br />

        <label for="comment_rule">Comment Rule:</label>
        <select name="comment_rule" id="comment">
            <option value="1">Unrestricted</option>
            <option value="2">Closed</option>
        </select><br />

        <input type="submit" name="submit" id="submit" value="Upload" />
    </fieldset>
</form>